<include file="__THEME__/header" />
<include file="__THEME__/page_top" />
<php>if(empty($mid)){</php>
<include file="back/login_side" />
<php>}</php>
<div class="w_970 p_t25">
	<div class="banner m_b40" >
		<div id="slides" >
			<div class="slides_container">
				<volist name="ad['content']" id="vo">
					<div class="slide">
						<a href="{$vo['bannerurl']}" title="" target="_blank">
							<img src="{$vo['bannerpic']}" width="970" height="300" alt="">
						</a>
					</div>
				</volist>
			</div>
		</div>
    </div>
    <script>
		$(function(){
			$('#slides').slides({
				preload: true,
				preloadImage: THEME_URL+'/images/loading.gif',
				play: 5000,
				pause: 2500,
				hoverPause: true,
				animationStart: function(current){
					$('.caption').animate({
						bottom:-35
					},100);
					if (window.console && console.log) {
						// example return of current slide number
						console.log('animationStart on slide: ', current);
					};
				},
				animationComplete: function(current){
					$('.caption').animate({
						bottom:0
					},200);
					if (window.console && console.log) {
						// example return of current slide number
						console.log('animationComplete on slide: ', current);
					};
				},
				slidesLoaded: function() {
					$('.caption').animate({
						bottom:0
					},200);
				}
			});
		});
	</script>
<div class="opt m_b20">
	<a href="{:U('public/index/index')}" <php>if(empty($_GET['tab'])){</php> class="xz" <php>}</php>>热门</a>
	<a href="{:U('public/index/index',array('tab'=>'new'))}"  <php>if( $_GET['tab'] === 'new'){</php> class="xz" <php>}</php>>最新</a>
</div>
<ul class="show">

	<volist	name="list.data" id="vo">
		<li>
	    	<div id="works_list_image" class="nr b_fff ov">
	    		<div id="works_intr" class="nr_text c_666" style="display:none;">
	            	<h2 class="t_14">{$vo.title}</h2>
	                <p class="m_t5 l_20">{$vo.content|strip_tags|mStr=180}</p>
	            </div>
	        	<img src="{$vo.cover}" width="200" height="150" />
	            <div class="m_t3">
	            	<a href="#" class="fl icon_bj"></a>
	            	<span class="fr m_t5">
	            		<a href="#" class="icon_lt m_r10 c999">{$vo.comments_total}</a>
	            		<a href="javascript:;" <php>if($vo['like_works'] >= 1){</php>onclick="delLike({$vo.id},this)" <php>}else{</php>onclick="addLike({$vo.id},this)" <php>}</php> class="icon_ax  c999">{$vo.like_total}</a>
	            	</span>
	            </div>
	        </div>
	        <div class="gr_xx p_t10">
	        	<a href="{$vo.user_info.space_url}" class="c_009"><img src="{$vo.user_info.avatar_small}" width="20" height="20" />{$vo.user_info.uname}<i class="icon_vg m_l10 v_2"></i></a>
	        </div>
	    </li>
	</volist>
</ul>

<div class="nextPage p_t25 m_b40 tc">
	<i class="next_zz di"></i>
	<i href="#" class="next_z di"></i>
	{$list.html}
	<i class="next_y di"></i>
	<i class="next_yy di"></i>
</div>

<div class="b_t p_t25 m_b20">
	<div class="fl w_280 m_r95">
    	<h2 class="t_14 c_333 p_b10">可以出售的原创作品</h2>
        <a href="#" class="fl m_r10"><img src="__THEME__/images/120x140.jpg" width="120" height="140" /></a>
        <p class="c_999 l_20">原来一个人会梦到另一个人，是因为心底觉得离那个人好远好远</p>
    </div>
    <div class="fl w_280">
    	<h2 class="t_14 c_333 p_b10">正在招募</h2>
        <ol>
        	<li class="bold m_b15"><a href="#" class="c_666">西门子<i class="c_999 m_z6">雇佣一个</i>服装视觉大片修片师傅</a></li>
            <li class="bold m_b15"><a href="#" class="c_666">西门子<i class="c_999 m_z6">雇佣一个</i>服装视觉大片修片师傅</a></li>
            <li class="bold m_b15"><a href="#" class="c_666">西门子<i class="c_999 m_z6">雇佣一个</i>服装视觉大片修片师傅</a></li>
        </ol>
    </div>
	<div class="fr w_280">
    	<h2 class="t_14 c_333 p_b10">正在发布的广告</h2>
        <a href="#" class="fl m_r10"><img src="__THEME__/images/120x90.jpg" width="120" height="90" /></a>
        <p class="c_999 l_20">原来一个人会梦到另一个人，是因为心底觉得离那个人好远好远</p>
    </div>
	<div class="clear"></div>
</div>


</div>


<include file="__THEME__/footer" />
</body>
</html>
